package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;


@Data
public class ScoreTopicScoreDto implements Serializable {
	private static final long serialVersionUID = 1L;
			/**
		 * 题目id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 题目
		 */
			private String title;
			/**
		 * 分数
		 */
			private BigDecimal score;
	/**
	 * 最高分
	 */
	private BigDecimal maxScore;

	/**
	 * 类型
	 */
	private Integer type;
}
